package com.neusoft.SPNursingHome.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.neusoft.SPNursingHome.po.Food;
import com.neusoft.SPNursingHome.po.ResponseBean;

import java.util.List;

public interface FoodService {
    ResponseBean<List<Food>> listAll(String foodType);
    ResponseBean<Food> getById(Integer id);
    ResponseBean<Void> create(Food food);
    ResponseBean<Void> update(Food food);
    ResponseBean<Void> deleteById(Integer id);
    IPage<Food> listChange(String foodType, String foodName, long page, long size);
}
